# NEVER EDIT this file.  It was generated and will be overwritten without
# notice upon regeneration of this application.  You have been warned.
package Contact::Model::bday;
use strict; use warnings;

__PACKAGE__->load_components( qw/ Core / );
__PACKAGE__->table( 'bday' );
__PACKAGE__->add_columns( qw/
    id
    subid
    contact
    bday
/ );
__PACKAGE__->set_primary_key( qw( id subid ) );

__PACKAGE__->belongs_to( contact => 'Contact::Model::number' );
__PACKAGE__->base_model( 'Contact::Model' );

sub get_foreign_tables {
    return qw(
        Contact::Model::number
    );
}

sub table_name {
    return 'bday';
}

1;

=head1 NAME

Contact::Model::GEN::bday - model for bday table (generated part)

=head1 DESCRIPTION

This model inherits from Gantry::Utils::DBIxClass.
It was generated by Bigtop, and IS subject to regeneration.

=head1 METHODS

You may use all normal Gantry::Utils::DBIxClass methods and the
ones listed here:

=over 4

=item get_foreign_display_fields

=item get_foreign_tables

=item foreign_display

=item table_name

=back

=cut
